from django.contrib.auth.decorators import login_required
from django.core.handlers.wsgi import WSGIRequest
from django.shortcuts import render

# Create your views here.
def all_materials(request: WSGIRequest):
    return render(request, template_name='material/full_view.html')

@login_required
def ppredict(request: WSGIRequest):
    return render(request, template_name='material/ppredict.html')

@login_required
def perovskite(request: WSGIRequest):
    return render(request, template_name='material/perovskite.html')